import React from 'react'

import Title from '../../components/Title'
import AddressItem from '../../components/AddressItem'
import OrderListItem from '../../components/OrderListItem'

import './style.css'

class CreateOrder extends React.Component {
    updateAdd = () => {

    }
    render() {
        return (
            <div className='createOrder'>
                <Title title='确认订单' />
                <AddressItem 
                    name='石兴龙'
                    phone='150xxxx'
                    edit='更换'
                    editClick={this.updateAdd}
                    address='上海市 上海市 浦东新区 康敏苑(浦东新区康镇路52弄1-24号)'
                />
                <OrderListItem />
                <div className='createOrder-create' >
                    <div>   
                        <span>共2件, 合计: </span>
                        <span className='money'>¥: 99.99</span>
                    </div>
                    <button className='btn' >下单</button>
                </div>

            </div>
        )
    }
}

export default CreateOrder
